

import request from '@/utils/request';
import { stringify } from 'qs';

//重置密码
export async function forgetLoginPwd(params) {
  return request('/blade-user/forgetLoginPwd', {
    method: 'POST',
    data: params,
  });
}

//获取手机号（根据账号）
export async function getPhoneNumberOp(params) {
  return request(`/blade-user/getUserPhoneByAccount?${stringify(params)}`);
}

//获取图片验证码
export async function getCaptchaImage(params) {
  return request(`/blade-auth/oauth/captcha?${stringify(params)}`);
}

//获取安全验证图形验证码
export async function getSaftCaptchaOp(params) {
  return request(`/blade-user/phone/getCodeAndOauth?${stringify(params)}`);
}